import request from "@/utils/request";

export default {

    categoryList: (params: any) => request.get(`/aries/api/parts/categoryList`, {
        params
    }),
    categorySave: (params: any): Promise<any> => request.post(`/aries/api/parts/categorySave`, params),
    partsList: (params: any) => request.get(`/aries/api/parts/partsList`, {
        params
    }),
    partsSave: (params: any): Promise<any> => request.post(`/aries/api/parts/partsSave`, params),
}
